import 'package:distribution_mall_flutter/constant/cf_constant.dart';
import 'package:distribution_mall_flutter/generated/l10n.dart';
import 'package:distribution_mall_flutter/widgets/card.dart';
import 'package:distribution_mall_flutter/widgets/navigation_item.dart';
import 'package:flutter/material.dart';

class PaySelectCard extends StatelessWidget {
  const PaySelectCard({super.key});

  @override
  Widget build(BuildContext context) {
    return EPCard(
      margin: const EdgeInsets.fromLTRB(
          EdgeConstant.edge10, EdgeConstant.edge10, EdgeConstant.edge10, 0),
      // padding: const EdgeInsets.fromLTRB(EdgeConstant.edge10,
      //     EdgeConstant.edge10, EdgeConstant.edge10, EdgeConstant.edge5),
      child: Column(
        children: [
          EPNavigationItem(
            onTap: () {},
            padding: const EdgeInsets.fromLTRB(EdgeConstant.edge10,
                EdgeConstant.edge10, EdgeConstant.edge10, EdgeConstant.edge5),
            leftText: S.of(context).payBy,
            rightText: '12312',
            isLineNav: true,
          ),
        ],
      ),
    );
  }
}
